package com.campus_information_portal.entity;


/**
 * @author Y-Rainson
 * @create 2018-03-31 23:06
 **/

public class Mark {
    private int markId;//成绩 id
    private Integer courseId;//课程 id
    private Integer courseNum;//课程代码
    private Integer termId;//学期 id
    private Integer stuInfoId;//学生信息 id
    private String markCourse;//课程名称
    private Integer mark;//成绩
    private Double markGradepoint;//绩点
    public Mark(){}
    public Mark(int markId, Integer courseId, Integer courseNum, Integer termId, Integer stuInfoId, String markCourse, Integer mark, Double markGradepoint) {
        this.markId = markId;
        this.courseId = courseId;
        this.courseNum = courseNum;
        this.termId = termId;
        this.stuInfoId = stuInfoId;
        this.markCourse = markCourse;
        this.mark = mark;
        this.markGradepoint = markGradepoint;
    }

    public int getMarkId() {
        return markId;
    }

    public void setMarkId(int markId) {
        this.markId = markId;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getCourseNum() {
        return courseNum;
    }

    public void setCourseNum(Integer courseNum) {
        this.courseNum = courseNum;
    }

    public Integer getTermId() {
        return termId;
    }

    public void setTermId(Integer termId) {
        this.termId = termId;
    }

    public Integer getStuInfoId() {
        return stuInfoId;
    }

    public void setStuInfoId(Integer stuInfoId) {
        this.stuInfoId = stuInfoId;
    }

    public String getMarkCourse() {
        return markCourse;
    }

    public void setMarkCourse(String markCourse) {
        this.markCourse = markCourse;
    }

    public Integer getMark() {
        return mark;
    }

    public void setMark(Integer mark) {
        this.mark = mark;
    }

    public Double getMarkGradepoint() {
        return markGradepoint;
    }

    public void setMarkGradepoint(Double markGradepoint) {
        this.markGradepoint = markGradepoint;
    }

    @Override
    public String toString() {
        return "Mark{" +
                "markId=" + markId +
                ", courseId=" + courseId +
                ", courseNum=" + courseNum +
                ", termId=" + termId +
                ", stuInfoId=" + stuInfoId +
                ", markCourse='" + markCourse + '\'' +
                ", mark=" + mark +
                ", markGradepoint=" + markGradepoint +
                '}';
    }
}
